package com.yswwpp.dpai.entity;

import java.io.Serializable;
import java.util.Date;

public abstract class Entity<T> implements Serializable {

	private static final long serialVersionUID = -3458202190459344679L;

	protected String remarks; // 备注
	protected String createBy; // 创建者
	protected Date createTime; // 创建时间
	protected String updateBy; // 更新者
	protected Date updateTime; // 更新时间
	protected int delFlag; // 删除标记（0：正常；1：删除；2：审核）

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public int getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(int delFlag) {
		this.delFlag = delFlag;
	}

	@Override
	public String toString() {
		return "Entity [remarks=" + remarks + ", createBy=" + createBy + ", createTime=" + createTime + ", updateBy="
				+ updateBy + ", updateTime=" + updateTime + ", delFlag=" + delFlag + "]";
	}

}
